package com.sri.system;

import java.io.IOException;
import com.sri.test.DBTesting;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class RentalTestServlet extends HttpServlet {

  /**
   * Destruction of the servlet. <br>
   */
  public void destroy() {
    super.destroy(); // Just puts "destroy" string in log
    // Put your code here
  }

  protected void service(HttpServletRequest req, HttpServletResponse response) throws ServletException, IOException {

    DBTesting.testDbByIBatis();

  }

  /**
   * Initialization of the servlet. <br>
   * 
   * @throws ServletException
   *           if an error occure
   */
  public void init() throws ServletException {
    // Put your code here
  }

}
